package com.gdkf.dormitory.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lcy
 * @since 2022-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Zhu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "zhu_id", type = IdType.AUTO)
    private Integer zhuId;

    /**
     * 学号
     */
    private String stuId;

    /**
     * 楼房号
     */
    private String housId;

    /**
     * 宿舍号
     */
    private String dormId;

    @TableField(exist = false)
    private String stuName;

}
